package com.hutao.manage.pojo;


public class Universal implements Cloneable{
    private Long id;
    private String code;
    private String name;
    private Integer num=0;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getNum() {
        return num;
    }

    public void setNum(Integer num) {
        this.num = num;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    @Override
    public Object clone(){
        Universal uni=null;
        try{
            uni=(Universal)super.clone();
        }catch(CloneNotSupportedException e){
            e.printStackTrace();
        }
        return uni;
    }

	@Override
	public String toString() {
		return "Universal [id=" + id + ", code=" + code + ", name=" + name + ", num=" + num + "]";
	}
    
    
    
}
